package com.kt.emall.order.feign;

import com.kt.emall.order.vo.OrderItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @program: e-mall
 * @description: 购物车的远程调用
 * @author: KamTang
 * @create: 2022-02-10 10:12
 **/
@FeignClient("emall-cart")
public interface CartFeignService {

    /**
     * 获取用户选中的所有购物项
     * @return
     */
    @GetMapping("/currentUserCartItem")
    List<OrderItemVO> getCurrentUserCartItem();
}
